package com.atguigu.yygh.order.service;

import java.util.Map;

/**
 * @ClassName WeixinService
 * @Description 此类描述:
 * @Author dangchen
 * @DateTime 2022-10-21 20:08
 * @Version 1.0
 */
public interface WeixinService {
    //根据订单号下单,生成支付链接
    Map createNative(Long orderId);

    //根据订单号去微信第三方查询支付状态
    Map queryPayStatus(Long orderId);

    //退款
    Boolean refund(Long orderId);
}
